package com.yidu.t299.service.chr.impl;

import com.yidu.t299.dao.chr.SchoolMapper;
import com.yidu.t299.domain.chr.School;
import com.yidu.t299.service.chr.SchoolBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author twj
 * @version 1.0.0
 */

@Service
public class SchoolBizImpl implements SchoolBiz {
    @Autowired
    private SchoolMapper schoolMapper;
    /**
     * 查询所有校区信息
     *
     * @return 校区名称
     */
    @Override
    public List<School> selectAll() {
        return schoolMapper.selectAll();
    }
}
